package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.vo.album.TrackMediaInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface VodService {

    Map<String, String> uploadTrack(MultipartFile file);

    TrackMediaInfoVo getTrackMediaInfo(String mediaFileId);

    String startReviewTask(String reviewTaskId);

    void deleteMedia(String mediaFileId);

    /**
     * 文本审核
     * @param content
     * @return
     */
    Boolean scanText(String content);

    /**
     * 图片审核
     * @param file
     * @return
     */
    Boolean scanImage(MultipartFile file);

    /**
     * 根据审核任务ID查询审核结果
     * @param reviewTaskId
     * @return 建议
     */
    String getReviewTaskSuggest(String reviewTaskId);
}
